##############################################################################
#									     #
# Makefile for scr-rotate xrander fronnt end for screen rotation on OpenMoko #
#									     #
# author: Lev Meirovitch						     #
#         LVMTime@gmail.com						     #
#									     #
# ver 0.4 date: 11/9/2010						     #
# This program is FREE SOFTWARE published under GNU/GPL v. 3.0 or higer      #
#									     #
##############################################################################

ELM_INCLUDES=-I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/efreet-1\
 -I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/ecore-1\
 -I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/eina-1\
 -I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/eina-1/eina\
 -I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/eet-1\
 -I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/edje-1\
 -I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/evas-1\
 -I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/dbus-1.0\
 -I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib/dbus-1.0/include\
 -I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/e_dbus-1\
 -I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/X11\
 -I/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/include/elementary-0

ELM_LIBS=-lelementary

elm-tst: scr-rotate.c
	$(CC) $(CFLAGS) $(ELM_INCLUDES) $(ELM_LIBS) scr-rotate.c -o scr-rotate

clean:
	-rm -f *.o
	-rm -f scr-rotate
